﻿/*
 * Created by SharpDevelop.
 * User: xieen
 * Date: 2013-08-16
 * Time: 13:20
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace GoF23Learning._07.Bridge_Pattern
{
	/// <summary>
	/// Description of Client.
	/// </summary>
	public class Client
	{
		public void Play(string type)
		{
			if(type == "PC")
			{
				PCT50 pcT50 = new PCT50();
				PCT75 pcT75 = new PCT75();
				
				pcT50.Run();
				pcT75.Run();
				
			}
			else if( type =="Mobile"){				
				
				MobileT50 mobileT50 = new MobileT50();
				MobileT75 mobileT75 = new MobileT75();
				
				mobileT50.Run();
				mobileT75.Run();
			}
		}
	}
}
